<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        var uname = "liuyang";
        var age = 18;
        alert("姓名：" + uname + "\n年龄：" + age + "\n");
    </script>
</head>
<body>

</body>
</html>